smpboot_hooks.h, smpboot.c:
Also setup IO APIC when running an SMP guest.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
#if 0
if (nmi_watchdog == NMI_LOCAL_APIC)
check_nmi_watchdog();
+#endif
smpboot_setup_io_apic();
+#if 0
setup_boot_APIC_clock();
/*
static inline void smpboot_setup_io_apic(void)
{
-#if 1
- printk("smpboot_setup_io_apic\n");
-#else
/*
* Here we can be sure that there is an IO-APIC in the system. Let's
* go and set it up:
*/
if (!skip_ioapic_setup && nr_ioapics)
setup_IO_APIC();
-#endif
}
static inline void smpboot_setup_io_apic(void)
{
-#if 1
- printk("smpboot_setup_io_apic\n");
-#else
/*
* Here we can be sure that there is an IO-APIC in the system. Let's
* go and set it up:
*/
if (!skip_ioapic_setup && nr_ioapics)
setup_IO_APIC();
-#endif
}